#include <QCoreApplication>
#include <iostream>
#include <cmath>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication e(argc, argv);
    cout<<"Vvedite chislo a: ";
    int a;
    cin>>a;
    cout<<"Vvedite chislo b: ";
    int b;
    cin>>b;
    if(a%2==0&&b%2==0)
    {
        cout<<"a i b imeut odinakovuy chetnost'.";
    }
    else
    {
        cout<<"a i b imeut raznuy chetnost'.";
    }
    cout<<endl<<endl;
    return e.exec();
}
